/**
    Alegría 2D Game Engine Copyright (C) 2010 J.G. Camarasa <pepius@gmail.com>
    
    This file is part of Alegría.
    
    Alegría is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

*/

#include "AK_Message.hpp"

#include <iostream>

using namespace std;

AK_Message::AK_Message(const string &sendto, const string &msg, AK_Entity *owner){
	m_sendto = sendto;
	m_msg = msg;
	m_owner = owner;
}

AK_Message::AK_Message(const AK_Message &msg){
	m_sendto = msg.m_sendto;
	m_msg = msg.m_msg;
	m_owner = msg.m_owner;
}

const string& AK_Message::GetReceiver(){
	return m_sendto;
}

const string& AK_Message::GetMsg(){
	return m_msg;
}